<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Create Klass</title>
</head>
<body>
<form action="/klass/save" method="post">
    <label>ID</label>
    <input type="text" name="id" readonly th:value="${klass.id}">
    <label>Name</label>
    <input type="text" name="name" th:value="${klass.name}">
    <label>Major</label>
    <input type="text" name="major" th:value="${klass.major}">
    <input type="submit" value="更新">
</form>
</body>
</html>